package com.store.app.utils.scan;

import com.store.app.utils.SettingData;

/**
 * Created by Administrator on 2016/3/3.
 */
public class DataUtil {
    public static String getZFCodeToString(String code){
        if(code.equals(SettingData.PAYMENT_WAY_10)){
            return "支付宝";
        }else if(code.equals(SettingData.PAYMENT_WAY_11)){
            return "微信";
        }else if(code.equals(SettingData.PAYMENT_WAY_03)){
            return "银联";
        }else if(code.equals(SettingData.PAYMENT_WAY_04)){
            return "现金";
        }else if(code.equals(SettingData.PAYMENT_WAY_05)){
            return "零钱";
        }else if(code.equals(SettingData.PAYMENT_WAY_06)){
            return "礼券";
        }else if(code.equals(SettingData.PAYMENT_WAY_05)){
            return "亲情卡";
        }else if(code.equals(SettingData.PAYMENT_WAY_14)){
            return "翼支付";
        }else if(code.equals(SettingData.PAYMENT_WAY_25)){
            return "和包支付";
        }
        return "";
    }
}
